package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingPlan;
import com.zzyl.vo.NursingPlanVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Description NursingPlanMapper
 * @Author shuaijie LI
 * @Date 2024-08-27
 */
@Mapper
public interface NursingPlanMapper {
    Page<NursingPlanVo> page(String name, Integer pageNum, Integer pageSize, Integer status);

    @Select("select * from nursing_plan")
    List<NursingPlan> getAll();
}
